import React, { Component } from 'react';
import './mine_base.scss'
class Com extends Component {
  constructor(props) {
    super(props);
    this.state = {}
  }
  render () {
    let names = this.props.u_name;
    console.log(names)  

    return (
      <div className="top">
        <div className="userImg"></div>
        <h1>{ names}的厨房</h1>
        <p>2012-10-16 加入</p>
        <div className="btns">
          <button>关注</button>
          <ul className="follow">
            <li><p>关注的人</p><span>114</span></li>
            <li><p>被关注</p><span>20</span></li>
          </ul>
        </div>
      </div>
    )
  }
}

export default Com;